From e3d29ea2ed251fee63bae20a78b23536fc27d90d Mon Sep 17 00:00:00 2001 From: Kevin Albertson Date: Fri, 7 Jun 2024 12:57:37 -0400 Subject: [PATCH] relocate `Using with CMake` --- README.md | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 79a6aa2..1413871 100644 --- a/README.md +++ b/README.md @@ -42,16 +42,6 @@ cmake -S . -B build cmake --build build ``` -### Using with CMake - -A CMake Config-file package is provided. To use utf8proc in a CMake project: - -```cmake -add_executable (app app.c) -find_package (utf8proc 2.9.0 REQUIRED) -target_link_libraries (app PRIVATE utf8proc::utf8proc) -``` - ### Using other compilers The included `Makefile` supports GNU/Linux flavors and MacOS with `gcc`-like compilers; Windows users will typically use `cmake`. @@ -63,6 +53,16 @@ gmake CC=/opt/aCC/bin/aCC CFLAGS="+O2" PICFLAG="+z" C99FLAG="-Ae" WCFLAGS="+w" L ``` To run `gmake install` you will need GNU coreutils for the `install` command, and you may want to pass `prefix=/opt libdir=/opt/lib/hpux32` or similar to change the installation location. +### Using with CMake + +A CMake Config-file package is provided. To use utf8proc in a CMake project: + +```cmake +add_executable (app app.c) +find_package (utf8proc 2.9.0 REQUIRED) +target_link_libraries (app PRIVATE utf8proc::utf8proc) +``` + ## General Information The C library is found in this directory after successful compilation -- 2.30.2